package com.fnfn.sdk.api.dao;

import java.util.List;

import com.fnfn.sdk.api.entity.PermissionDetail;
import org.springframework.stereotype.Repository;

@Repository
public interface PermissionDetailMapper {
    
    int deleteByPrimaryKey(Integer cDetailId);

    int insert(PermissionDetail record);

    int insertSelective(PermissionDetail record);

    PermissionDetail selectByPrimaryKey(Integer cDetailId);
    
    List<PermissionDetail> selectByPermissionKey(Integer cPermissionId);

    int updateByPrimaryKeySelective(PermissionDetail record);

    int updateByPrimaryKey(PermissionDetail record);

    int selectByPrimaryKeyToPermissionId(Integer cDetailId);
}